package com.example.smallmall.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author WSGL
 * @since 2020-08-14
 */
@TableName("sp_menus")
public class SpMenus implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 菜单ID
     */
    @TableId(value = "menus_id", type = IdType.AUTO)
    private Integer menusId;

    /**
     * 菜单名称
     */
    @TableField("authName")
    private String authName;

    /**
     * 菜单路径
     */
    @TableField("path")
    private String path;

    /**
     * 菜单父ID
     */
    @TableField("parent_id")
    private Integer parentId;

    /**
     * 是否启用菜单
     */
    @TableField("is_active")
    private Boolean isActive;

    /**
     * 菜单图标
     */
    @TableField("icon_path")
    private String iconPath;

    public Integer getMenusId() {
        return menusId;
    }

    public void setMenusId(Integer menusId) {
        this.menusId = menusId;
    }
    public String getAuthName() {
        return authName;
    }

    public void setAuthName(String authName) {
        this.authName = authName;
    }
    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }
    public Boolean getIsActive() {
        return isActive;
    }

    public void setIsActive(Boolean isActive) {
        this.isActive = isActive;
    }
    public String getIconPath() {
        return iconPath;
    }

    public void setIconPath(String iconPath) {
        this.iconPath = iconPath;
    }

    @Override
    public String toString() {
        return "SpMenus{" +
            "menusId=" + menusId +
            ", authName=" + authName +
            ", path=" + path +
            ", parentId=" + parentId +
            ", isActive=" + isActive +
            ", iconPath=" + iconPath +
        "}";
    }
}
